package com.beyond.framework.privilege.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Created by IntelliJ IDEA.
 * User: lewisw
 * Date: Sep 8, 2010
 * Time: 9:54:55 AM
 */

@Documented
@Target(value={java.lang.annotation.ElementType.METHOD})
@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME)
public @interface Privilege {

    public String value();

    public boolean isEntrance() default false;

    public int order() default 0;

}
